//package com.kim.client.demo;
//
//import io.quarkus.runtime.StartupEvent;
//import io.vertx.mutiny.core.Vertx;
//import jakarta.enterprise.context.ApplicationScoped;
//import jakarta.enterprise.event.Observes;
//import org.eclipse.microprofile.config.inject.ConfigProperty;
//
//@ApplicationScoped
//public class RedService {
//    @ConfigProperty(name = "red-service-port", defaultValue = "9001") int port;
//
//    /**
//     * Start an HTTP server for the red service.
//     *
//     * Note: this method is called on a worker thread, and so it is allowed to block.
//     */
//    public void init(@Observes StartupEvent ev, Vertx vertx) {
//        vertx.createHttpServer()
//                .requestHandler(req -> req.response().endAndForget("Hello from Red!"))
//                .listenAndAwait(port);
//    }
//
//}